import random
price = random.randint(1,100)
while True :
    geet = int(input('请输入0-100的整数'))
    if geet > price :
        print('大了')
        continue
    elif geet<price :
        print('小了')
        continue
    elif geet== price :
        print('恭喜答对了',price)
        break